package com.xingzhe.pengji.security.common.controller;

import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseStatus;

import com.xingzhe.pengji.framework.controller.BaseController;
import com.xingzhe.pengji.util.RequestUrl;

@Controller
public class CommonController extends BaseController
{
    @RequestMapping(value=RequestUrl.LOGIN,method = RequestMethod.GET)
    @ResponseStatus(HttpStatus.OK)
    public String login()
    {
        return "resourse/jsp/common/login";
    }
    
    @RequestMapping(value=RequestUrl.TIME_OUT,method = RequestMethod.GET)
    public String timeOut()
    {
        return "resourse/jsp/common/timeout";
    }

    
}
